package gui;

import javax.swing.*;
import java.awt.*;

/**
 * Created by Yaksha on 1/23/14.
 */
public class BorderPanel extends JPanel {

    public BorderPanel() {
        setLayout(new BorderLayout(0, 0));

        JButton northBtn = new JButton("North Button");
        add(BorderLayout.NORTH, northBtn);

        JButton westBtn = new JButton("West Button");
        add(BorderLayout.WEST, westBtn);

        JButton southBtn = new JButton("South Button");
        add(BorderLayout.SOUTH, southBtn);

        JButton eastBtn = new JButton("East Button");
        add(BorderLayout.EAST, eastBtn);

        JButton centerBtn = new JButton("Center Button");
        add(BorderLayout.CENTER, centerBtn);
    }
}
